<%--
  Created by IntelliJ IDEA.
  User: 杨浩宇
  Date: 2016/8/14 0014
  Time: 11:12
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <script id="subject_content_left_menu" type="text/html">
        <ul>
            {{each leftList as value i}}
                <li><a id="{{value.id}}">{{value.txt}}</a></li>
            {{/each}}
        </ul>
    </script>
    <script id="subject_head_menu" type="text/html">
            {{each topData as value i}}
            <div style="float: left"><a id="{{value.id}}">{{value.txt}}</a></div>
            {{/each}}
    </script>
    <script id="subject_main_content" type="text/html">
        {{each content as value i}}
        <div id="thumb1-{{value.seq}}">
            {{if (value.key === null) || (value.key === undefined) || (value.key === "undefined")}}
            <a  href="{{value.url}}">
                <img src="{{value.img}}">
            </a>
            {{else}}
            <a  href="#" id="link_{{value.key}}">
                <img src="{{value.img}}">
            </a>
            {{/if}}
        </div>
        {{/each}}
    </script>
</head>
<body>
<div id="mainDiv">
    <div id="subject_head">
    </div>
    <div id="subject_content_left">
    </div>
    <div id="subject_content_main">
    </div>
</div>
</body>
</html>
